//
//  TTButton.m
//  TaTaBang
//
//  Created by 李禹 on 15/8/16.
//  Copyright (c) 2015年 hailong. All rights reserved.
//

#import "TTButton.h"

@implementation TTButton

- (CGRect)imageRectForContentRect:(CGRect)contentRect {
    return CGRectMake(0, 0, contentRect.size.width, contentRect.size.height/2);
}

- (CGRect)titleRectForContentRect:(CGRect)contentRect {
    return CGRectMake(0, contentRect.size.height/2, contentRect.size.width, contentRect.size.height/2);
}
@end
